home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
352_01.zip
/
VLMATCH.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-10
|
308b
|
14 lines
// VLMATCH.CPP
// code to match a String to a vlist.
#include "dblib.h"
int Vlist::match ( void *data )
{
int vn = n;
for ( int i=0; i<vn; ++i )
{
if ( 0==Vlist::compare (data,i) ) break;
}
return i; // Vlist::match()
}
//--------------- end VLMATCH.CPP ------------------